﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Leafing.Data.Definition;



namespace Wz16.Baoming.BLL
{
    /// <summary>
    /// 基础信息-班级表
    /// </summary>
    [Serializable]
    [SoftDelete]
    public class BmInfo : DbObjectModel<BmInfo>
    {
        public BmInfo() { }

        /// <summary>
        /// 身份证号
        /// </summary>
        [Description("身份证号")]
        [Length(20)]
        [AllowNull]
        [Index(ASC = true, IndexName = "BmInfo_Index_IDCardNum", UNIQUE = true, UniqueErrorMessage = "身份证号码出现重复,你可能已经报过名，请使用报名查询功能查询你的信息")]
        public string IDCardNum { get; set; }

        /// <summary>
        /// 报名序号
        /// </summary>
        [Description("报名序号")]
        [Length(20)]
        [AllowNull]
        public string XH { get; set; }


        /// <summary>
        /// 姓名
        /// </summary>
        [Description("姓名")]
        [Length(20)]
        [AllowNull]
        public string Name { get; set; }


        /// <summary>
        /// 性别
        /// </summary>
        [Description("性别")]
        [Length(20)]
        [AllowNull]
        public string Sex { get; set; }


        /// <summary>
        /// 出生日期
        /// </summary>
        [Description("出生日期")]
        [Length(20)]
        [AllowNull]
        public string Birthday { get; set; }


        /// <summary>
        /// 联系电话
        /// </summary>
        [Description("联系电话")]
        [Length(50)]
        [AllowNull]
        public string Tel { get; set; }

        /// <summary>
        /// 毕业学校
        /// </summary>
        [Description("毕业学校")]
        [Length(50)]
        [AllowNull]
        public string School { get; set; }

        /// <summary>
        /// 毕业学校所在地
        /// </summary>
        [Description("毕业学校所在地")]
        [Length(50)]
        [AllowNull]
        public string SchoolAddress { get; set; }


        /// <summary>
        /// 班级
        /// </summary>
        [Description("班级")]
        [Length(20)]
        [AllowNull]
        public string Banji { get; set; }


        /// <summary>
        /// 职务
        /// </summary>
        [Description("职务")]
        [Length(50)]
        [AllowNull]
        public string ZhiWu { get; set; }


        /// <summary>
        /// 特长
        /// </summary>
        [Description("特长")]
        [Length(50)]
        [AllowNull]
        public string TeChang { get; set; }


        /// <summary>
        /// 是否住校：是，否
        /// </summary>
        [Description("是否住校：是，否")]
        [Length(20)]
        [AllowNull]
        public string ZhuXiao { get; set; }


        /// <summary>
        /// 户口类别
        /// </summary>
        [Description("户口类别")]
        [Length(20)]
        [AllowNull]
        public string HukouLeibie { get; set; }


        /// <summary>
        /// 户口地址
        /// </summary>
        [Description("户口地址")]
        [Length(50)]
        [AllowNull]
        public string HukouAddress { get; set; }


        /// <summary>
        /// 家庭地址
        /// </summary>
        [Description("家庭地址")]
        [Length(50)]
        [AllowNull]
        public string HomeAddress { get; set; }


        /// <summary>
        /// 父亲姓名
        /// </summary>
        [Description("父亲姓名")]
        [Length(20)]
        [AllowNull]
        public string FatherName { get; set; }


        /// <summary>
        /// 工作单位
        /// </summary>
        [Description("工作单位")]
        [Length(50)]
        [AllowNull]
        public string FatherWork { get; set; }


        /// <summary>
        /// 电话
        /// </summary>
        [Description("电话")]
        [Length(50)]
        [AllowNull]
        public string FatherTel { get; set; }


        /// <summary>
        /// 手机
        /// </summary>
        [Description("手机")]
        [Length(50)]
        [AllowNull]
        public string FatherMobil { get; set; }


        /// <summary>
        /// 母亲姓名
        /// </summary>
        [Description("母亲姓名")]
        [Length(20)]
        [AllowNull]
        public string MotherName { get; set; }


        /// <summary>
        /// 工作单位
        /// </summary>
        [Description("工作单位")]
        [Length(50)]
        [AllowNull]
        public string MotherWork { get; set; }


        /// <summary>
        /// 电话
        /// </summary>
        [Description("电话")]
        [Length(50)]
        [AllowNull]
        public string MotherTel { get; set; }


        /// <summary>
        /// 手机
        /// </summary>
        [Description("手机")]
        [Length(50)]
        [AllowNull]
        public string MotherMobil { get; set; }


        /// <summary>
        /// 语文
        /// </summary>
        [Description("语文")]
        [Length(20)]
        [AllowNull]
        public string Chinese1 { get; set; }


        /// <summary>
        /// 数学
        /// </summary>
        [Description("数学")]
        [Length(20)]
        [AllowNull]
        public string Math1 { get; set; }


        /// <summary>
        /// 英语
        /// </summary>
        [Description("英语")]
        [Length(20)]
        [AllowNull]
        public string English1 { get; set; }


        /// <summary>
        /// 语文
        /// </summary>
        [Description("语文")]
        [Length(20)]
        [AllowNull]
        public string Chinese2 { get; set; }


        /// <summary>
        /// 数学
        /// </summary>
        [Description("数学")]
        [Length(20)]
        [AllowNull]
        public string Math2 { get; set; }


        /// <summary>
        /// 英语
        /// </summary>
        [Description("英语")]
        [Length(20)]
        [AllowNull]
        public string English2 { get; set; }


        /// <summary>
        /// 语文
        /// </summary>
        [Description("语文")]
        [Length(20)]
        [AllowNull]
        public string Chinese3 { get; set; }


        /// <summary>
        /// 数学
        /// </summary>
        [Description("数学")]
        [Length(20)]
        [AllowNull]
        public string Math3 { get; set; }


        /// <summary>
        /// 英语
        /// </summary>
        [Description("英语")]
        [Length(20)]
        [AllowNull]
        public string English3 { get; set; }


        /// <summary>
        /// 语文
        /// </summary>
        [Description("语文")]
        [Length(20)]
        [AllowNull]
        public string Chinese4 { get; set; }


        /// <summary>
        /// 数学
        /// </summary>
        [Description("数学")]
        [Length(20)]
        [AllowNull]
        public string Math4 { get; set; }


        /// <summary>
        /// 英语
        /// </summary>
        [Description("英语")]
        [Length(20)]
        [AllowNull]
        public string English4 { get; set; }


        /// <summary>
        /// 获奖情况
        /// </summary>
        [Description("获奖情况")]
        [AllowNull]
        public string Prize { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        [Description("备注")]
        [Length(50)]
        [AllowNull]
        public string Beizhu { get; set; }


        /// <summary>
        /// 状态:等待现场确认，完成现场确认
        /// </summary>
        [Description("报名状态")]
        [Length(20)]
        [AllowNull]
        public string Status { get; set; }

        /// <summary>
        /// 曾用名
        /// </summary>
        [Description("曾用名")]
        [Length(20)]
        [AllowNull]
        public string Xm1 { get; set; }

        /// <summary>
        /// 民族
        /// </summary>
        [Description("民族")]
        [Length(20)]
        [AllowNull]
        public string Nation { get; set; }

        /// <summary>
        /// 健康状态
        /// </summary>
        [Description("健康状态")]
        [Length(20)]
        [AllowNull]
        public string Health { get; set; }

        /// <summary>
        /// 短信联系手机
        /// </summary>
        [Description("短信联系手机")]
        [Length(20)]
        [AllowNull]
        public string SmsMobile { get; set; }

        /// <summary>
        /// 教育局报名号
        /// </summary>
        [Description("教育局报名号")]
        [Length(20)]
        [AllowNull]
        public string Bmh { get; set; }

        /// <summary>
        /// 报考类别
        /// </summary>
        [Description("报考类别")]
        [Length(20)]
        [AllowNull]
        public string Leibie { get; set; }

        /// <summary>
        /// 报考项目
        /// </summary>
        [Description("报考项目")]
        [Length(20)]
        [AllowNull]
        public string Xiangmu { get; set; }

        [SpecialName]
        public DateTime CreatedOn { get; set; }

        [SpecialName]
        public DateTime? UpdatedOn { get; set; }

        [SpecialName]
        public DateTime SavedOn { get; set; }

        [SpecialName]
        public int Count { get; set; }

        [SpecialName]
        public int LockVersion { get; set; }

    }
}
